libxl: replace memset() with libxl__device_console_init
authorDavid Scott <dave.scott@citrix.com>
Thu, 9 Oct 2014 09:17:26 +0000 (10:17 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 20 Oct 2014 12:51:28 +0000 (13:51 +0100)
commit9991ecd77484f855a7bf90845f37e87f768c74f1
tree28eecdca7de6c92b97c5580917d6c6a7bd916bf0
parent68b19524a8fb81e94059317b7616d09cf5b135fd
libxl: replace memset() with libxl__device_console_init

The current implementation of libxl__device_console_init does the same
memset() so this is identical for now.

If libxl__device_console_init changes in future (e.g. to prefer a non-zero
default value for some field) then this will continue to work.

Signed-off-by: David Scott <dave.scott@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl_create.c